package com.xuwang.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 废弃物表(Waste)实体类
 *
 * @author abaaba
 * @since 2021-09-20 15:33:36
 * @version 1.0
 */
@ApiModel(value = "Waste",description = "废弃物表")
public class Waste implements Serializable {
    private static final long serialVersionUID = 143846176299577656L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 废弃物类型
    */
	@ApiModelProperty(name = "wasteType",notes = "废弃物类型",dataType = "String",required = true)
    private String wasteType;
    /**
    * 废弃物生产批号
    */
	@ApiModelProperty(name = "wasteBatchNo",notes = "废弃物生产批号",dataType = "String",required = true)
    private String wasteBatchNo;
    /**
    * 废弃数量
    */
	@ApiModelProperty(name = "number",notes = "废弃数量",dataType = "Double",required = true)
    private Double number;
    /**
    * 处理方式
    */
	@ApiModelProperty(name = "method",notes = "处理方式",dataType = "String",required = true)
    private String method;
    /**
    * 处理人
    */
	@ApiModelProperty(name = "wastePerson",notes = "处理人",dataType = "String",required = true)
    private String wastePerson;
    /**
    * 备注
    */
	@ApiModelProperty(name = "remark",notes = "备注",dataType = "String",required = true)
    private String remark;
    /**
    * 废弃时间
    */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "wasteTime",notes = "废弃时间",dataType = "Timestamp",required = true)
    private Timestamp wasteTime;
    /**
    * 废弃企业
    */
	@ApiModelProperty(name = "wasteCompanyName",notes = "废弃企业",dataType = "String",required = true)
    private String wasteCompanyName;
    /**
    * 废弃物名称
    */
	@ApiModelProperty(name = "wasteName",notes = "废弃物名称",dataType = "String",required = true)
    private String wasteName;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getWasteType() {
        return wasteType;
    }

    public void setWasteType(String wasteType) {
        this.wasteType = wasteType;
    }
        
    public String getWasteBatchNo() {
        return wasteBatchNo;
    }

    public void setWasteBatchNo(String wasteBatchNo) {
        this.wasteBatchNo = wasteBatchNo;
    }
        
    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }
        
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
        
    public String getWastePerson() {
        return wastePerson;
    }

    public void setWastePerson(String wastePerson) {
        this.wastePerson = wastePerson;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Timestamp getWasteTime() {
        return wasteTime;
    }

    public void setWasteTime(Timestamp wasteTime) {
        this.wasteTime = wasteTime;
    }

    public String getWasteCompanyName() {
        return wasteCompanyName;
    }

    public void setWasteCompanyName(String wasteCompanyName) {
        this.wasteCompanyName = wasteCompanyName;
    }
        
    public String getWasteName() {
        return wasteName;
    }

    public void setWasteName(String wasteName) {
        this.wasteName = wasteName;
    }

}